/* 引入主题颜色 */
@import "color.css"; 

@charset "UTF-8";
/* 通用样式 */
a{
    cursor: pointer;
}
.required {
	position: relative;
}
.required:after {
	position: absolute;
	transform: translateY(8%);
	right: 4px;
	font-size: 18px;
	color: #ea644a;
	content: '*';
}

/* 滚动条样式 */
::-webkit-scrollbar-track {
	background-color: #F5F5F5;
}
::-webkit-scrollbar {
	width: 6px;
    height: 6px;
	background-color: #F5F5F5;
}
::-webkit-scrollbar-thumb {
	background-color: #999;
}

/* 侧边栏 */
.layui-layout-admin .layui-side{
	top: 40px;
	width: 220px;
    background-color: var(--sideBGColor);
    -webkit-transition: left 0.3s ease, width 0.3s ease;
	-o-transition: left 0.3s ease, width 0.3s ease;
	transition: left 0.3s ease, width 0.3s ease;
}
.layui-layout-admin .layui-side .layui-side-scroll{
	width: 220px;
}
.layui-layout-admin .layui-side .layui-nav-tree{
	width: 220px;
}
.layui-layout-admin .layui-side a .layui-icon,
.layui-layout-admin .layui-side a .fa{
	display: inline-block;
	font-size: 15px;
	width: 24px;
}
.layui-layout-admin .layui-side a .fa{
	font-size: 16px;
}
.layui-layout-admin .layui-side .layui-nav-child{
	padding: 4px 0;
}
.layui-layout-admin .layui-side .layui-nav-child a{
	padding-left: 44px;
}
.layui-layout-admin .layui-side .layui-nav-child .layui-nav-child a{
	padding-left: 64px;
}

/* 主体区域 */
.layui-layout-admin .layui-body{
    top: 50px;
    left: 220px;
    margin: 0;
	bottom: 0;
}
.layui-layout-admin .layui-body .layui-tab-title{
	z-index: 999;
	background-color: var(--tabTitleBGColor);
}
.layui-layout-admin .layui-body .layui-tab-title li{
    padding-left: 16px;
    padding-right: 8px;
    border-right: 1px solid #f6f6f6;
}
.layui-layout-admin .layui-body .layui-tab-title li:hover{
    background-color: #f8f8f8;
}
.layui-layout-admin .layui-body .layui-tab-title .layui-this{
    color: #009688;
    background-color: #f8f8f8;
}
.layui-layout-admin .layui-body .layui-tab-title .layui-this:after{
    border-bottom: 2px solid #009688;
}
.layui-layout-admin .layui-body .layui-tab-title .layui-tab-close{
	width: 16px;
	height: 16px;
	line-height: 18px;
    font-weight: bold;
}
.layui-layout-admin .layui-body .layui-tab-title .layui-tab-close:hover{
    background-color: #cccccc;
}
.layui-layout-admin .layui-body .layui-tab-content,
.layui-layout-admin .layui-body .layui-tab-content .layui-tab-item,
.layui-layout-admin .layui-body .layui-tab-content .layui-layout-iframe
{
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}
.layui-layout-admin .layui-body .layui-tab-content{
	top: 40px;
	padding: 0;
	z-index: 998;
}
.layui-layout-admin .layui-body .layui-tab-content .layui-layout-iframe{
	width: 100%;
    height: 100%;
}


/* 表单 */
.form-compile{
	padding-top: 20px;
}
.form-compile .layui-input-inline{
	width: 240px;
}
.form-compile .layui-input-inline input:hover,
.form-compile .layui-input-block input:hover,
.form-compile .layui-input-inline textarea:hover,
.form-compile .layui-input-block textarea:hover{
    border-color: var(--inputBorderColorHover);
}
.form-compile .layui-form-text{
	padding-right: 20px;
}
.form-compile .layui-form-text .layui-textarea{
	max-width: 350px;
}
.form-compile .layui-form-text .layui-textarea.textarea-fill{
	max-width: 350px;
}
.form-compile .form-finally{
	border-top: 1px solid #ddd;
	padding: 14px 0 0 0;
    margin: 10px 20px 20px;
    
}
.form-compile .form-finally .layui-btn{
	padding: 0 14px;
	float: left;
	margin-left: 10px;
}

/* 导航栏logo样式 */
.layui-layout-admin .layui-header .layui-logo{
	width: 220px;
	color: var(--logoColor);
	line-height: 50px;
	background-color: var(--logoBGColor);
	overflow: hidden;
}


/* 头部导航栏 */
.layui-layout-admin .layui-header .layui-logo-mini,
.layui-layout-admin .side-toggle .layui-icon-spread-left{
	display: none;
}
.layui-layout-admin .layui-header{
	height: 50px;
	background-color: var(--headerBGColor);
}
.layui-layout-admin .layui-header .side-toggle{
	left: 220px;
	display: block;
    padding: 0 20px;
    height: 50px;
    line-height: 50px;
    color: var(--sideToggleColor);
}
.layui-layout-admin .layui-header .side-toggle:hover{
	background-color: var(--sideToggleColorHover);
}
.layui-layout-admin .layui-header .layui-nav .layui-nav-item{
	line-height: 50px;
}
.layui-layout-admin .layui-header .layui-nav .layui-nav-item>a{
	color: var(--headerFontsColor);
	padding: 0 16px;
}
.layui-layout-admin .layui-header .layui-nav .layui-nav-item>a:hover{
	background-color: var(--sideNavFontsColorHover);
}
.layui-layout-admin .layui-header .layui-nav .layui-nav-item>a>.fa{
	font-size: 18px;
	position: relative;
	top: 3px;
}
.layui-layout-admin .layui-header .layui-nav .eh-screen-full.full-on>.fa:before{
	content: "\e758";
}
.layui-layout-admin .layui-header .layui-nav .eh-nav-user>a{
	padding-right: 28px;
}

/* 消除导航按钮底部下划线 */
.layui-layout-admin .layui-header .layui-nav-bar{
	background-color: rgba(0,0,0,0);
}
/* 消除导航下拉框按钮底部下划线 */
.layui-layout-admin .layui-header .layui-nav .layui-this:after{
	background: none;
}
.layui-layout-admin .layui-header .layui-nav-child{
	top:55px;
	left: -60px;
	right: 0;
	padding: 0;
	margin-top: 2px;
	text-align: center;
	box-shadow: initial;
	border: initial;
	background-color: initial;
}
.layui-layout-admin .layui-header .eh-nav-child-box{
	float: right;
	min-width: 120px;
	padding: 5px 0;
	box-shadow: 0 2px 4px rgba(0,0,0,.12);
	border: 1px solid #d2d2d2;
	background-color: var(--navChildBoxBGColor);
}


/* 页面 */
.eh-layout-page{
	background-color: var(--pageBGColor);
	padding: 18px;
}
.eh-layout-page .eh-card-header{
	border-top: 4px solid #d2d2d2;
	border-bottom: 1px solid #e2e2e2;
}
.eh-layout-page .eh-card-header .refresh-btn{
	position: absolute;
	top:8px;
	right: 8px;
	width: 25px;
	height: 25px;
	line-height: 26px;
	cursor: pointer;
	font-weight: bold;
	text-align: center;
	border-radius: 4px;
}
.eh-layout-page .eh-card-header .refresh-btn:hover{
	background-color: var(--btnBGColorHover);
}
.eh-layout-page .layui-form-pane .layui-inline{
    margin: 5px 0;
}
.eh-layout-page .layui-form-pane .layui-form-label{
	width: auto;
	background-color: var(--labelBGColor);
	border-color: var(--labelBorderColor);
	color: var(--labelFontsColor);
	font-weight: bold;
}
.layui-form-pane input,
.layui-form-pane select{
	border-color: var(--inputBorderColor);
	border-radius: 0 2px 2px 0;
}
.eh-layout-page .layui-form-pane input:hover,
.eh-layout-page .layui-form-pane input:focus{
	border-color: #808080!important;
/* 	border-color: var(--inputBorderColorHover); */
	outline: 0;
	-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(0, 150, 136, 0.6);
	box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(0, 150, 136, 0.6);
}
.eh-layout-page .layui-form-pane .layui-input-block{
	margin-left: 0px;
	float: left;
}
.eh-layout-page .eh-table-wrap{
	overflow-y: auto;
    margin: 5px 0;
}


/* 自适应小屏幕 */
@media (max-width: 767px){
	.layui-layout-admin .layui-side{
		left: -220px;
	}
	.layui-layout-admin .layui-body,
	.layui-layout-admin .layui-header .side-toggle{
		left: 0;
	}
	.layui-layout-admin .layui-header .layui-logo{
		display: none;
	}
	.layui-layout-admin.layui-side-shrink .layui-side{
		left: 0;
	}
}

/* 收起侧边栏 */
@media (min-width: 767px) {
	.layui-layout-admin.layui-side-shrink .layui-logo,
	.layui-layout-admin.layui-side-shrink .layui-side {
		width: 50px;
	}
	.layui-layout-admin.layui-side-shrink .layui-side:hover{
		width: 220px;
	}
	.layui-layout-admin.layui-side-shrink .layui-side:hover .layui-nav-title{
		display: inline;
	}
	.layui-layout-admin.layui-side-shrink .layui-header .side-toggle,
	.layui-layout-admin.layui-side-shrink .layui-body {
		left: 50px;
	}
	.layui-layout-admin.layui-side-shrink .layui-side-user {
		padding: 10px;
	}
	.layui-layout-admin.layui-side-shrink .layui-side-user .layui-side-user-avatar {
		width: 30px;
	}
	.layui-layout-admin.layui-side-shrink .layui-side .layui-nav .layui-nav-item a {
		padding: 0 17px;
	}
	.layui-layout-admin.layui-side-shrink .layui-logo-mini,
	.layui-layout-admin.layui-side-shrink .side-toggle .layui-icon-spread-left {
		display: inline;
	}
	.layui-layout-admin.layui-side-shrink .layui-logo-lg,
	.layui-layout-admin.layui-side-shrink .layui-side .layui-nav-title,
	.layui-layout-admin.layui-side-shrink .layui-side .layui-nav-more,
	.layui-layout-admin.layui-side-shrink .layui-side .layui-nav-itemed > .layui-nav-child,
	.layui-layout-admin.layui-side-shrink .layui-side-user-name,
	.layui-layout-admin.layui-side-shrink .layui-side-user-designation,
	.layui-layout-admin.layui-side-shrink .side-toggle .layui-icon-shrink-right {
		display: none;
	}
}
